package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.List;

public class ActivityrecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public ActivityrecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andArnoIsNull() {
            addCriterion("arno is null");
            return (Criteria) this;
        }

        public Criteria andArnoIsNotNull() {
            addCriterion("arno is not null");
            return (Criteria) this;
        }

        public Criteria andArnoEqualTo(String value) {
            addCriterion("arno =", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoNotEqualTo(String value) {
            addCriterion("arno <>", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoGreaterThan(String value) {
            addCriterion("arno >", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoGreaterThanOrEqualTo(String value) {
            addCriterion("arno >=", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoLessThan(String value) {
            addCriterion("arno <", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoLessThanOrEqualTo(String value) {
            addCriterion("arno <=", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoLike(String value) {
            addCriterion("arno like", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoNotLike(String value) {
            addCriterion("arno not like", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoIn(List<String> values) {
            addCriterion("arno in", values, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoNotIn(List<String> values) {
            addCriterion("arno not in", values, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoBetween(String value1, String value2) {
            addCriterion("arno between", value1, value2, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoNotBetween(String value1, String value2) {
            addCriterion("arno not between", value1, value2, "arno");
            return (Criteria) this;
        }

        public Criteria andAtnoIsNull() {
            addCriterion("atno is null");
            return (Criteria) this;
        }

        public Criteria andAtnoIsNotNull() {
            addCriterion("atno is not null");
            return (Criteria) this;
        }

        public Criteria andAtnoEqualTo(String value) {
            addCriterion("atno =", value, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoNotEqualTo(String value) {
            addCriterion("atno <>", value, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoGreaterThan(String value) {
            addCriterion("atno >", value, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoGreaterThanOrEqualTo(String value) {
            addCriterion("atno >=", value, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoLessThan(String value) {
            addCriterion("atno <", value, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoLessThanOrEqualTo(String value) {
            addCriterion("atno <=", value, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoLike(String value) {
            addCriterion("atno like", value, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoNotLike(String value) {
            addCriterion("atno not like", value, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoIn(List<String> values) {
            addCriterion("atno in", values, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoNotIn(List<String> values) {
            addCriterion("atno not in", values, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoBetween(String value1, String value2) {
            addCriterion("atno between", value1, value2, "atno");
            return (Criteria) this;
        }

        public Criteria andAtnoNotBetween(String value1, String value2) {
            addCriterion("atno not between", value1, value2, "atno");
            return (Criteria) this;
        }

        public Criteria andFnoIsNull() {
            addCriterion("fno is null");
            return (Criteria) this;
        }

        public Criteria andFnoIsNotNull() {
            addCriterion("fno is not null");
            return (Criteria) this;
        }

        public Criteria andFnoEqualTo(String value) {
            addCriterion("fno =", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotEqualTo(String value) {
            addCriterion("fno <>", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoGreaterThan(String value) {
            addCriterion("fno >", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoGreaterThanOrEqualTo(String value) {
            addCriterion("fno >=", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoLessThan(String value) {
            addCriterion("fno <", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoLessThanOrEqualTo(String value) {
            addCriterion("fno <=", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoLike(String value) {
            addCriterion("fno like", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotLike(String value) {
            addCriterion("fno not like", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoIn(List<String> values) {
            addCriterion("fno in", values, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotIn(List<String> values) {
            addCriterion("fno not in", values, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoBetween(String value1, String value2) {
            addCriterion("fno between", value1, value2, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotBetween(String value1, String value2) {
            addCriterion("fno not between", value1, value2, "fno");
            return (Criteria) this;
        }

        public Criteria andArnumberIsNull() {
            addCriterion("arNumber is null");
            return (Criteria) this;
        }

        public Criteria andArnumberIsNotNull() {
            addCriterion("arNumber is not null");
            return (Criteria) this;
        }

        public Criteria andArnumberEqualTo(String value) {
            addCriterion("arNumber =", value, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberNotEqualTo(String value) {
            addCriterion("arNumber <>", value, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberGreaterThan(String value) {
            addCriterion("arNumber >", value, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberGreaterThanOrEqualTo(String value) {
            addCriterion("arNumber >=", value, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberLessThan(String value) {
            addCriterion("arNumber <", value, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberLessThanOrEqualTo(String value) {
            addCriterion("arNumber <=", value, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberLike(String value) {
            addCriterion("arNumber like", value, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberNotLike(String value) {
            addCriterion("arNumber not like", value, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberIn(List<String> values) {
            addCriterion("arNumber in", values, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberNotIn(List<String> values) {
            addCriterion("arNumber not in", values, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberBetween(String value1, String value2) {
            addCriterion("arNumber between", value1, value2, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArnumberNotBetween(String value1, String value2) {
            addCriterion("arNumber not between", value1, value2, "arnumber");
            return (Criteria) this;
        }

        public Criteria andArstarttimeIsNull() {
            addCriterion("arStartTime is null");
            return (Criteria) this;
        }

        public Criteria andArstarttimeIsNotNull() {
            addCriterion("arStartTime is not null");
            return (Criteria) this;
        }

        public Criteria andArstarttimeEqualTo(String value) {
            addCriterion("arStartTime =", value, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeNotEqualTo(String value) {
            addCriterion("arStartTime <>", value, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeGreaterThan(String value) {
            addCriterion("arStartTime >", value, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeGreaterThanOrEqualTo(String value) {
            addCriterion("arStartTime >=", value, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeLessThan(String value) {
            addCriterion("arStartTime <", value, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeLessThanOrEqualTo(String value) {
            addCriterion("arStartTime <=", value, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeLike(String value) {
            addCriterion("arStartTime like", value, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeNotLike(String value) {
            addCriterion("arStartTime not like", value, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeIn(List<String> values) {
            addCriterion("arStartTime in", values, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeNotIn(List<String> values) {
            addCriterion("arStartTime not in", values, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeBetween(String value1, String value2) {
            addCriterion("arStartTime between", value1, value2, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstarttimeNotBetween(String value1, String value2) {
            addCriterion("arStartTime not between", value1, value2, "arstarttime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeIsNull() {
            addCriterion("arStopTime is null");
            return (Criteria) this;
        }

        public Criteria andArstoptimeIsNotNull() {
            addCriterion("arStopTime is not null");
            return (Criteria) this;
        }

        public Criteria andArstoptimeEqualTo(String value) {
            addCriterion("arStopTime =", value, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeNotEqualTo(String value) {
            addCriterion("arStopTime <>", value, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeGreaterThan(String value) {
            addCriterion("arStopTime >", value, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeGreaterThanOrEqualTo(String value) {
            addCriterion("arStopTime >=", value, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeLessThan(String value) {
            addCriterion("arStopTime <", value, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeLessThanOrEqualTo(String value) {
            addCriterion("arStopTime <=", value, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeLike(String value) {
            addCriterion("arStopTime like", value, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeNotLike(String value) {
            addCriterion("arStopTime not like", value, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeIn(List<String> values) {
            addCriterion("arStopTime in", values, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeNotIn(List<String> values) {
            addCriterion("arStopTime not in", values, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeBetween(String value1, String value2) {
            addCriterion("arStopTime between", value1, value2, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArstoptimeNotBetween(String value1, String value2) {
            addCriterion("arStopTime not between", value1, value2, "arstoptime");
            return (Criteria) this;
        }

        public Criteria andArdescribeIsNull() {
            addCriterion("arDescribe is null");
            return (Criteria) this;
        }

        public Criteria andArdescribeIsNotNull() {
            addCriterion("arDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andArdescribeEqualTo(String value) {
            addCriterion("arDescribe =", value, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeNotEqualTo(String value) {
            addCriterion("arDescribe <>", value, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeGreaterThan(String value) {
            addCriterion("arDescribe >", value, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeGreaterThanOrEqualTo(String value) {
            addCriterion("arDescribe >=", value, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeLessThan(String value) {
            addCriterion("arDescribe <", value, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeLessThanOrEqualTo(String value) {
            addCriterion("arDescribe <=", value, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeLike(String value) {
            addCriterion("arDescribe like", value, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeNotLike(String value) {
            addCriterion("arDescribe not like", value, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeIn(List<String> values) {
            addCriterion("arDescribe in", values, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeNotIn(List<String> values) {
            addCriterion("arDescribe not in", values, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeBetween(String value1, String value2) {
            addCriterion("arDescribe between", value1, value2, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArdescribeNotBetween(String value1, String value2) {
            addCriterion("arDescribe not between", value1, value2, "ardescribe");
            return (Criteria) this;
        }

        public Criteria andArstateIsNull() {
            addCriterion("arState is null");
            return (Criteria) this;
        }

        public Criteria andArstateIsNotNull() {
            addCriterion("arState is not null");
            return (Criteria) this;
        }

        public Criteria andArstateEqualTo(Integer value) {
            addCriterion("arState =", value, "arstate");
            return (Criteria) this;
        }

        public Criteria andArstateNotEqualTo(Integer value) {
            addCriterion("arState <>", value, "arstate");
            return (Criteria) this;
        }

        public Criteria andArstateGreaterThan(Integer value) {
            addCriterion("arState >", value, "arstate");
            return (Criteria) this;
        }

        public Criteria andArstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("arState >=", value, "arstate");
            return (Criteria) this;
        }

        public Criteria andArstateLessThan(Integer value) {
            addCriterion("arState <", value, "arstate");
            return (Criteria) this;
        }

        public Criteria andArstateLessThanOrEqualTo(Integer value) {
            addCriterion("arState <=", value, "arstate");
            return (Criteria) this;
        }

        public Criteria andArstateIn(List<Integer> values) {
            addCriterion("arState in", values, "arstate");
            return (Criteria) this;
        }

        public Criteria andArstateNotIn(List<Integer> values) {
            addCriterion("arState not in", values, "arstate");
            return (Criteria) this;
        }

        public Criteria andArstateBetween(Integer value1, Integer value2) {
            addCriterion("arState between", value1, value2, "arstate");
            return (Criteria) this;
        }

        public Criteria andArstateNotBetween(Integer value1, Integer value2) {
            addCriterion("arState not between", value1, value2, "arstate");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}